package com.xlk.mupdf.library;

import java.util.ArrayList;
import java.util.List;

/**
 * @author : Administrator
 * created on 2025/6/20 15:22
 */
public class MupdfMacro {
    public static final String TAG = "MuPDF";

    //<editor-fold desc="功能开关">
    /**
     * 恒迅版本的图标不同
     */
    public static boolean isHengXunVersion = false;
    /**
     * 共享pdf批注开关，默认false
     */
    public static boolean shareAnnotationEnable = false;
    /**
     * 可删除之前的批注的开关，默认false
     */
    public static boolean delete_history_annotation = false;
    //</editor-fold>

    //<editor-fold desc="bundle key值">
    public static final String mupdf_bundle_key = "mupdf_bundle";
    /**
     * 文件路径
     */
    public static final String bundle_key_file_path = "filePath";
    public static final String bundle_key_annotation_save_path = "savePath";
    public static final String bundle_key_file_uri = "uri";
    public static final String bundle_key_file_mediaId = "mediaId";
    /**
     * 水印开关
     */
    public static final String bundle_key_watermark_enable = "watermark_enable";
    /**
     * 水印内容
     */
    public static final String bundle_key_watermark_content = "watermark_content";
    /**
     * 水印字体颜色
     */
    public static final String bundle_key_watermark_color = "watermark_color";
    /**
     * 批注上传开关
     */
    public static final String bundle_key_upload_enable = "upload_enable";
    /**
     * 批注功能开关
     */
    public static final String bundle_key_annotation_enable = "annotation_enable";
    /**
     * 签名功能开关
     */
    public static final String bundle_key_signature_enable = "signature_enable";
    /**
     * 截图功能开关
     */
    public static final String bundle_key_capture_enable = "capture_enable";
    public static final String bundle_key_wps_open_enable = "wps_open_enable";
    /**
     * 批注后上传的目录id
     */
    public static final String bundle_key_upload_dirId = "upload_dirId";
    /**
     * 退出时是否删除文件
     */
    public static final String bundle_key_delete_file = "delete_file";
    /**
     * 是否只预览
     */
    public static final String bundle_key_only_preview = "only_preview";
    /**
     * 打开时是否是共享状态
     */
    public static final String bundle_key_page_index = "page_index";
    //</editor-fold>

    //<editor-fold desc="共享批注相关">

    /**
     * 所有正在参与共享绘制的设备id
     */
    public static List<Integer> sharingIds = new ArrayList<>();

    public static boolean isSharing;
    public static long launchSrcwbid;//发起人的白板标识 取微秒级的时间作标识 白板标识使用
    public static int launchSrcmemid;//发起人的人员ID
    //</editor-fold>
}
